
<h1><span class="yiyi-st" id="yiyi-14">numpy.polynomial.chebyshev.chebvander2d</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.chebyshev.chebvander2d.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.chebyshev.chebvander2d.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="function">
<dt id="numpy.polynomial.chebyshev.chebvander2d"><span class="yiyi-st" id="yiyi-15"> <code class="descclassname">numpy.polynomial.chebyshev.</code><code class="descname">chebvander2d</code><span class="sig-paren">(</span><em>x</em>, <em>y</em>, <em>deg</em><span class="sig-paren">)</span><a class="reference external" href="http://github.com/numpy/numpy/blob/v1.11.3/numpy/polynomial/chebyshev.py#L1469-L1529"><span class="viewcode-link">[source]</span></a></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-16">给定度的伪Vandermonde矩阵。</span></p>
<p><span class="yiyi-st" id="yiyi-17">返回度为<em class="xref py py-obj">deg</em>和采样点<em class="xref py py-obj">（x，y）</em>的伪Vandermonde矩阵。</span><span class="yiyi-st" id="yiyi-18">伪Vandermonde矩阵定义为</span></p>
<div class="math">
<p></p>
</div><p><span class="yiyi-st" id="yiyi-19">其中<em class="xref py py-obj">0 和<em class="xref py py-obj">0 。</em></em></span><span class="yiyi-st" id="yiyi-20"><em class="xref py py-obj">V</em>的前导索引点<em class="xref py py-obj">（x，y）</em>，并且最后索引编码Chebyshev多项式的度数。</span></p>
<p><span class="yiyi-st" id="yiyi-21">If <code class="docutils literal"><span class="pre">V</span> <span class="pre">=</span> <span class="pre">chebvander2d(x,</span> <span class="pre">y,</span> <span class="pre">[xdeg,</span> <span class="pre">ydeg])</span></code>, then the columns of <em class="xref py py-obj">V</em> correspond to the elements of a 2-D coefficient array <em class="xref py py-obj">c</em> of shape (xdeg + 1, ydeg + 1) in the order</span></p>
<div class="math">
<p></p>
</div><p><span class="yiyi-st" id="yiyi-22">和<code class="docutils literal"><span class="pre">np.dot（V，</span> <span class="pre">c.flat）</span></code>和<code class="docutils literal"><span class="pre">chebval2d（x，</span> <span class="pre">y，</span> <span class="pre">c）</span></code>将是相同的。</span><span class="yiyi-st" id="yiyi-23">该等价性对于最小二乘拟合和用于评估大量具有相同度数和采样点的2-D切比雪夫系列是有用的。</span></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name">
<col class="field-body">
<tbody valign="top">
<tr class="field-odd field"><th class="field-name"><span class="yiyi-st" id="yiyi-24">参数：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-25"><strong>x，y</strong>：array_like</span></p>
<blockquote>
<div><p><span class="yiyi-st" id="yiyi-26">数组的点坐标，都具有相同的形状。</span><span class="yiyi-st" id="yiyi-27">根据是否任何元素是复杂的，dtype将被转换为float64或complex128。</span><span class="yiyi-st" id="yiyi-28">将标量转换为1-D数组。</span></p>
</div></blockquote>
<p><span class="yiyi-st" id="yiyi-29"><strong>deg</strong>：ints的列表</span></p>
<blockquote>
<div><p><span class="yiyi-st" id="yiyi-30">表单的最大度数列表[x_deg，y_deg]。</span></p>
</div></blockquote>
</td>
</tr>
<tr class="field-even field"><th class="field-name"><span class="yiyi-st" id="yiyi-31">返回：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-32"><strong>vander2d</strong>：ndarray</span></p>
<blockquote class="last">
<div><p><span class="yiyi-st" id="yiyi-33">返回矩阵的形状是<code class="docutils literal"><span class="pre">x.shape</span> <span class="pre">+</span> <span class="pre">（order，）</span></code>，其中<img alt="order = (deg[0]+1)*(deg([1]+1)" class="math" src="../../_images/math/22cd9e547f8f77b32df1fcd92c6562d212d4491f.png" style="vertical-align: -4px">。</span><span class="yiyi-st" id="yiyi-34">dtype将与转换后的<em class="xref py py-obj">x</em>和<em class="xref py py-obj">y</em>相同。</span></p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
<div class="admonition seealso">
<p class="first admonition-title"><span class="yiyi-st" id="yiyi-35">也可以看看</span></p>
<p class="last"><span class="yiyi-st" id="yiyi-36"><a class="reference internal" href="numpy.polynomial.chebyshev.chebvander.html#numpy.polynomial.chebyshev.chebvander" title="numpy.polynomial.chebyshev.chebvander"><code class="xref py py-obj docutils literal"><span class="pre">chebvander</span></code></a>，<code class="xref py py-obj docutils literal"><span class="pre">chebvander3d.</span></code>，<a class="reference internal" href="numpy.polynomial.chebyshev.chebval3d.html#numpy.polynomial.chebyshev.chebval3d" title="numpy.polynomial.chebyshev.chebval3d"><code class="xref py py-obj docutils literal"><span class="pre">chebval3d</span></code></a></span></p>
</div>
<p class="rubric"><span class="yiyi-st" id="yiyi-37">笔记</span></p>
</dd></dl>
